package edu.example.paperselection;

public class PaperCountVisitor implements PaperSelectionVisitor {
    private int paperCount;

    @Override
    public void visit(PaperSelection selection) {
        paperCount = selection.getSelections().size();
    }

    public int getPaperCount() {
        return paperCount;
    }
}